package com.example.messages.test;

import com.example.messages.entity.AppointmentInfo;
import com.example.messages.utils.SendMQMessage;
import org.springframework.stereotype.Controller;

public class SendMQ {
    public static void main(String[] args) {
        SendMQMessage sendMQMessage = new SendMQMessage();
        AppointmentInfo appointmentInfo = new AppointmentInfo(100001, "天津市高新技术园区海泰西路北1里88号", "2022年10月20日 15:00-16:00", "18978930036");
       // AppointmentInfo appointmentInfo = new AppointmentInfo(100001, "123456", "15:00-16:00", "18920770081");
            sendMQMessage.send(appointmentInfo);
        //sendMQMessage.send("18978930036");
    }
}
